package com.vote.www.service;

import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vote.www.domain.Czjcopyact;
import com.vote.www.persistence.CzjcopyactMapper;
import com.vote.www.utils.UUIDUtils;

/**
 * Created by 汤伟杰 on 2017/4/28.
 */
@Service
public class CzjcopyactService {

    @Autowired
    private CzjcopyactMapper czjcopyactMapper;

	public void insertCzjcopyact(Czjcopyact list) {

		if(StringUtils.isBlank(list.getCzjcopyactId())){
			list.setCzjcopyactId(UUIDUtils.getUUID());
		}
		czjcopyactMapper.insertCzjcopyact(list);
	}
  


}
